#ifndef LIBAVCONTROLLER_H
#define LIBAVCONTROLLER_H

#include "vsGlobal.h"
#include <QImage>

class vsMediaFile;


class libAVctrl : public QObject
{
    Q_OBJECT

public:
    explicit libAVctrl(QObject *parent = 0);
    ~libAVctrl();

public slots:
    void getInfo(vsMediaFile *file);

protected:
    QLinkedList<vsMediaFile*> infoQueue;

    bool probeMedia(vsMediaFile &f);
    bool avError(int code, const QString &file);
};

#endif // LIBAVCONTROLLER_H
